SET(EIGEN_PATH /usr/local/include/eigen3)


include_directories(/usr/include/pcl-1.0)
include_directories(/usr/include/opencv)
include_directories(/usr/include/ni)
include_directories(${PCL_PATH}/include)
include_directories(${PCL_PATH}/include/roslib)
include_directories(${PCL_PATH}/src)
include_directories(${EIGEN_PATH})
include_directories(/usr/include/GL)



# Where to look for library files
link_directories(/usr/lib)
link_directories(/usr/local/lib)
link_directories(${PCL_PATH}/build)



add_executable(Capture CaptureAndCompare.cpp)
target_link_libraries(Capture OpenNI cv highgui pcl_io)
target_link_libraries(Capture pcl_io pcl_common pcl_features)
target_link_libraries(Capture pcl_kdtree pcl_keypoints)
target_link_libraries(Capture pcl_range_image_border_extractor pcl_range_image)
target_link_libraries(Capture boost_system boost_filesystem)


add_executable(Annotate Annotate.cpp)
target_link_libraries(Annotate OpenNI)
target_link_libraries(Annotate glut)
target_link_libraries(Annotate cv)
target_link_libraries(Annotate cvaux highgui)
target_link_libraries(Annotate boost_regex boost_filesystem)
install(TARGETS Capture Annotate DESTINATION ${OUTPUT})

